using System;

namespace SG.Lang.Dry.Mirrors
{
    [Serializable]
    public struct ExpressionRecord
    {
        public readonly Guid Left;
        public readonly Guid Value;
        public readonly Guid Right;

        public ExpressionRecord(ref Guid value)
            : this()
        {
            Value = value;
        }
        public ExpressionRecord(ref Guid value, ref Guid left)
            : this()
        {
            Value = value;
            Left = left;
        }
        public ExpressionRecord(ref Guid value, ref Guid left, ref Guid right) : this()
        {
            Value = value;
            Left = left;
            Right = right;
        }
    }
}